package com.bawei.demo_shoppingcar.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.bawei.demo_shoppingcar.R;
import com.bawei.demo_shoppingcar.fragment.MyFragment;

public class Main2Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        getSupportFragmentManager().beginTransaction().replace(R.id.activity_main2, MyFragment.newInstance("","")).commit();
    }
}
